package com.wing.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.common.utils.JsonResult;
import com.wing.common.utils.PageResult;
import com.wing.product.model.entity.WarehouseTransferOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.product.model.request.WarehouseTransferOrderForm;
import com.wing.product.model.response.WarehouseTransferOrderVO;

import java.util.Map;

public interface WarehouseTransferOrderService extends IService<WarehouseTransferOrder>{


    Page<WarehouseTransferOrderVO> pageList4app(Page page, Map<String, Object> params);

    Boolean save(WarehouseTransferOrderForm warehouseTransferOrderForm);

    Boolean adminTransferOrderConfirm(Long id);

    JsonResult updateStatus(Long id, Integer status, String type);

    JsonResult retract(Long id, Integer status, String type,String sysBundleCode);


}
